﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="TH_THE_LOAI.ascx.cs" Inherits="The_hien_TH_MENU" %>

<div style="width:170px; margin:0px auto; text-align: center;">
    <div style="background-color: #66CCFF">
        <strong>THỂ LOẠI</strong>
    </div>
    <div style="text-align: center">
        <asp:DataList ID="DataListLoaiSP" runat="server" 
                width="170px" CellPadding="0" ForeColor="#333333" 
            DataSourceID="ObjectDataSourceTheLoai">
                <AlternatingItemStyle BackColor="White" />
                <FooterStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
                <HeaderStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
                <ItemStyle BackColor="#EFF3FB" />
                <ItemTemplate>
                <div align="left">
                    <asp:HyperLink ID="HyperLinkTheLoai" runat="server" 
                        NavigateUrl='<%# "~/Trang_Web/Trang_chu.aspx?Mcd="+Eval("idTheLoai") %>' 
                        Text='<%# Eval("tenTheLoai") %>'></asp:HyperLink>
                </div>
                </ItemTemplate>
            </asp:DataList>
        <asp:ObjectDataSource ID="ObjectDataSourceTheLoai" runat="server" 
            SelectMethod="getListTheLoaiAll" TypeName="Biz_Dal.Biz.BizTheLoai">
        </asp:ObjectDataSource>
    </div>
</div>